<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.2">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"wrr123.github.io","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.json"};
  </script>

  <meta name="description" content="emacs是神的编辑器，vim是编辑器之神。">
<meta property="og:type" content="article">
<meta property="og:title" content="ecmas基础">
<meta property="og:url" content="https://wrr123.github.io/2021/06/24/ecmas%E5%9F%BA%E7%A1%80/index.html">
<meta property="og:site_name" content="一缕烟气">
<meta property="og:description" content="emacs是神的编辑器，vim是编辑器之神。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2021-06-24T06:14:05.000Z">
<meta property="article:modified_time" content="2022-02-18T02:52:04.390Z">
<meta property="article:author" content="田园隐士">
<meta property="article:tag" content="emacs">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://wrr123.github.io/2021/06/24/ecmas%E5%9F%BA%E7%A1%80/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>ecmas基础 | 一缕烟气</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

<style>mjx-container[jax="SVG"] {
  direction: ltr;
}

mjx-container[jax="SVG"] > svg {
  overflow: visible;
}

mjx-container[jax="SVG"][display="true"] {
  display: block;
  text-align: center;
  margin: 1em 0;
}

mjx-container[jax="SVG"][justify="left"] {
  text-align: left;
}

mjx-container[jax="SVG"][justify="right"] {
  text-align: right;
}

g[data-mml-node="merror"] > g {
  fill: red;
  stroke: red;
}

g[data-mml-node="merror"] > rect[data-background] {
  fill: yellow;
  stroke: none;
}

g[data-mml-node="mtable"] > line[data-line] {
  stroke-width: 70px;
  fill: none;
}

g[data-mml-node="mtable"] > rect[data-frame] {
  stroke-width: 70px;
  fill: none;
}

g[data-mml-node="mtable"] > .mjx-dashed {
  stroke-dasharray: 140;
}

g[data-mml-node="mtable"] > .mjx-dotted {
  stroke-linecap: round;
  stroke-dasharray: 0,140;
}

g[data-mml-node="mtable"] > svg {
  overflow: visible;
}

[jax="SVG"] mjx-tool {
  display: inline-block;
  position: relative;
  width: 0;
  height: 0;
}

[jax="SVG"] mjx-tool > mjx-tip {
  position: absolute;
  top: 0;
  left: 0;
}

mjx-tool > mjx-tip {
  display: inline-block;
  padding: .2em;
  border: 1px solid #888;
  font-size: 70%;
  background-color: #F8F8F8;
  color: black;
  box-shadow: 2px 2px 5px #AAAAAA;
}

g[data-mml-node="maction"][data-toggle] {
  cursor: pointer;
}

mjx-status {
  display: block;
  position: fixed;
  left: 1em;
  bottom: 1em;
  min-width: 25%;
  padding: .2em .4em;
  border: 1px solid #888;
  font-size: 90%;
  background-color: #F8F8F8;
  color: black;
}

foreignObject[data-mjx-xml] {
  font-family: initial;
  line-height: normal;
  overflow: visible;
}

.MathJax path {
  stroke-width: 3;
}

mjx-container[display="true"] {
  overflow: auto hidden;
}

mjx-container[display="true"] + br {
  display: none;
}
</style><link rel="alternate" href="/atom.xml" title="一缕烟气" type="application/atom+xml">
</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">一缕烟气</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">沧海月明珠有泪，蓝田日暖玉生烟</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://wrr123.github.io/2021/06/24/ecmas%E5%9F%BA%E7%A1%80/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="田园隐士">
      <meta itemprop="description" content="talk is cheap, show me the code">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="一缕烟气">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          ecmas基础
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2021-06-24 14:14:05" itemprop="dateCreated datePublished" datetime="2021-06-24T14:14:05+08:00">2021-06-24</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2022-02-18 10:52:04" itemprop="dateModified" datetime="2022-02-18T10:52:04+08:00">2022-02-18</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/emacs/" itemprop="url" rel="index"><span itemprop="name">emacs</span></a>
                </span>
            </span>

          
            <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv" style="display: none;">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              <span class="post-meta-item-text">阅读次数：</span>
              <span id="busuanzi_value_page_pv"></span>
            </span><br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="far fa-file-word"></i>
              </span>
                <span class="post-meta-item-text">本文字数：</span>
              <span>2k</span>
            </span>
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="far fa-clock"></i>
              </span>
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              <span>2 分钟</span>
            </span>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <div style="color:Chocolate;text-align:center;display:inline-block;width:100%;">
  emacs是神的编辑器，vim是编辑器之神。
</div>

<span id="more"></span>
<h4 id="Emacs入门指南"><a href="#Emacs入门指南" class="headerlink" title="Emacs入门指南"></a>Emacs入门指南</h4><h5 id="Emacs是什么"><a href="#Emacs是什么" class="headerlink" title="Emacs是什么"></a>Emacs是什么</h5><p>Emacs最基本的功能就是一个编辑器，在编程方面Emacs的功能是非常全面的，从基本的语法高亮、语法式结构编辑、代码浏览管理、到智能的代码补全、实时语法检测等高级功能都提供全面的支持。而这只是它的最基本的功能。</p>
<p>除了编程方面的支持外，Emacs几乎对所有文本世界都是非常友好的，它可以随意地浏览PDF、CHM、LaTeX、Markdown、RFC等各种文件，而这些都只在一个编辑器就能完成，你不需要打开各种浏览器，在各种窗口切换，一个Emacs可以全部搞定。</p>
<h5 id="Emacs能做什么"><a href="#Emacs能做什么" class="headerlink" title="Emacs能做什么"></a>Emacs能做什么</h5><ul>
<li>Org-mode任务管理</li>
<li>内置浏览器</li>
<li>Dired文件管理器</li>
<li>IRC通讯</li>
<li>RSS阅读器</li>
<li>LaTeX完美支持</li>
<li>翻译软件，语音朗读</li>
<li>煮咖啡、玩游戏、听音乐，。。。。</li>
</ul>
<h5 id="基本的快捷键操作"><a href="#基本的快捷键操作" class="headerlink" title="基本的快捷键操作"></a>基本的快捷键操作</h5><ul>
<li><p><code>C-v</code> 向前移动一屏</p>
</li>
<li><p><code>M-v</code> 向后移动一屏</p>
</li>
<li><p><code>C-l</code> 重绘屏幕，并将光标所在行置于屏幕的中央；如果你再次输入<code>C-l</code>,将移动到屏幕的顶部；第三次输入<code>C-l</code>,将移动到屏幕的底部。</p>
</li>
<li><p><code>C-p</code> 向上移动一行</p>
</li>
<li><p><code>C-n</code> 向下移动一行</p>
</li>
<li><p><code>C-b</code> 向左移动一个字符</p>
</li>
<li><p><code>C-f</code> 向右移动一个字符</p>
</li>
<li><p><code>M-b</code> 向左移动一个单词(英文单词)</p>
</li>
<li><p><code>M-f</code> 向右移动一个单词</p>
<p><strong>通常的惯例是META系列组合键来操作“由语言定义的单位（比如词、句子、段落）”，而CONTROL系列组合键用来操作“与语言无关的基本单位（比如字符、行等等）”。</strong></p>
</li>
<li><p><code>C-a</code> 将光标移动到一行的头部</p>
</li>
<li><p><code>C-e</code> 将光标移动到一行的尾部</p>
</li>
<li><p><code>M-a</code> 将光标移动到一句的头部</p>
</li>
<li><p><code>M-e</code> 将光标移动到一句的尾部</p>
</li>
<li><p><code>M-&lt;</code> 移动到所有文字的最开头</p>
</li>
<li><p><code>M-&gt;</code> 移动到所有文字的最末尾</p>
</li>
<li><p><code>C-u/META</code> 为一个命令指定数字参数（也就是重复次数）之前输入；</p>
<p><strong>大部分的Emacs命令接受数字参数，并且对于大多数命令而言，这些数字参数的作用是指定命令的重复次数。</strong></p>
</li>
<li><p><code>C-g</code> 如果Emacs对你的命令失去响应，你可以用<code>C-g</code>来安全地终止这条命令。<code>C-g</code>也可以终止一条执行过久的命令。</p>
<p><code>C-g</code>还可以取消数字参数和只输入到一半的命令。</p>
</li>
</ul>
<h5 id="窗格（windows）"><a href="#窗格（windows）" class="headerlink" title="窗格（windows）"></a>窗格（windows）</h5><ul>
<li><code>C-x 1</code> 只保留一个窗格（也就是关掉其它所有窗格），并将其扩大到整个屏幕，同时关掉其它的所有窗格。</li>
</ul>
<h5 id="插入和删除"><a href="#插入和删除" class="headerlink" title="插入和删除"></a>插入和删除</h5><ul>
<li><p><code>&lt;DEL&gt;</code> 删除光标前的一个字符</p>
</li>
<li><p><code>C-d</code> 删除光标后的一个字符</p>
</li>
<li><p><code>M-&lt;DEL&gt;</code> 移除光标前的一个词</p>
</li>
<li><p><code>M-d</code> 移除光标后的一个词</p>
</li>
<li><p><code>C-k</code> 移除从光标到行尾间的字符</p>
</li>
<li><p><code>M-k</code> 移除从光标到句尾间的字符</p>
<p><strong>移除（kill）和删除（delete）的不同在于被移除的东西可以被重新插入（在任何位置），而被删除的就不能使用相同的方法重新插入了。</strong></p>
</li>
<li><p><code>C-@,C-&lt;SPC&gt;</code> 选择文字</p>
</li>
<li><p><code>C-w</code> 移除选择的文字</p>
</li>
<li><p><code>C-y</code> 在光标处插入你最后移除的文字</p>
</li>
</ul>
<h5 id="撤销（Undo）"><a href="#撤销（Undo）" class="headerlink" title="撤销（Undo）"></a>撤销（Undo）</h5><ul>
<li><p><code>C-/ , C-_ , C-x u</code> 撤销</p>
<p>有两个例外：</p>
<ol>
<li>没有改变文字的命令不算（包括光标移动命令和滚动命令）</li>
<li>从键盘输入的字符以组为单位—每组最多20个字符—来进行处理</li>
</ol>
</li>
</ul>
<h5 id="文件（File）"><a href="#文件（File）" class="headerlink" title="文件（File）"></a>文件（File）</h5><ul>
<li><code>C-x C-f</code> 创建一个文件</li>
<li><code>C-x C-s</code> 储存这个文件</li>
</ul>
<h5 id="缓冲区"><a href="#缓冲区" class="headerlink" title="缓冲区"></a>缓冲区</h5><ul>
<li><code>C-x C-b</code> 列出缓冲区</li>
<li><code>C-x b</code> 选择缓冲区的文件</li>
<li><code>C-x s</code> 保存多个缓冲区</li>
</ul>
<h5 id="命令集扩展"><a href="#命令集扩展" class="headerlink" title="命令集扩展"></a>命令集扩展</h5><p>扩展命令有两种风格：</p>
<ol>
<li><code>C-x</code> 字符扩展。<code>C-x</code>之后输入另一个字符或者组合键。</li>
<li><code>M-x</code> 命令名扩展。<code>M-x</code> 之后输入一个命令名。</li>
</ol>
<ul>
<li><code>C-z</code> 可以暂时的离开Emacs。在允许<code>C-z</code>的系统中，<code>C-z</code>会把Emacs挂起。也就是说，它会回到shell但不杀死Emcas的进程。可以使用<code>fg</code>或者<code>%emacs</code>命令再次回到Emcas中。</li>
<li><code>C-x C-c</code> 退出Emcas</li>
</ul>
<h5 id="替换字符串"><a href="#替换字符串" class="headerlink" title="替换字符串"></a>替换字符串</h5><p><code>M-x repl s&lt;Return&gt;changed&lt;Return&gt;altered&lt;Return&gt;</code></p>
<h5 id="自动保存"><a href="#自动保存" class="headerlink" title="自动保存"></a>自动保存</h5><h5 id="模式"><a href="#模式" class="headerlink" title="模式"></a>模式</h5><ul>
<li><code>C-h m</code> 查看当前主模式的文档</li>
<li><code>M-q</code> 手动折行</li>
</ul>
<h5 id="搜索"><a href="#搜索" class="headerlink" title="搜索"></a>搜索</h5><ul>
<li><code>C-s</code> 向前搜索</li>
<li><code>C-r</code> 向后搜索</li>
</ul>
<h5 id="多窗格"><a href="#多窗格" class="headerlink" title="多窗格"></a>多窗格</h5><ul>
<li><code>C-x 2</code> 分成上下两个窗格</li>
<li><code>C-x 3</code> 分成左右两个窗格</li>
<li><code>C-M-v</code> 在非光标所在的窗格向下移动屏幕</li>
<li><code>C-M-S-v</code> 在非光标所在的窗格向上移动屏幕</li>
<li><code>C-x o</code>将光标移动到其它的窗口</li>
</ul>
<h5 id="多窗口"><a href="#多窗口" class="headerlink" title="多窗口"></a>多窗口</h5><ul>
<li><code>M-x make-frame &lt;Return&gt;</code> 创建一个新窗口</li>
<li><code>M-x delete-frame &lt;Return&gt;</code> 关闭选中的窗口</li>
</ul>
<h5 id="递归编辑"><a href="#递归编辑" class="headerlink" title="递归编辑"></a>递归编辑</h5><p><code>ESC ESC ESC</code> 一个通用的“离开”命令，你甚至可以使用它来关掉多余的窗格，或者离开小缓冲。</p>
<h5 id="获得更多的帮助"><a href="#获得更多的帮助" class="headerlink" title="获得更多的帮助"></a>获得更多的帮助</h5><ul>
<li><p><code>C-h</code> 输入之后，再输入一些字符，以说明你需要什么帮助。</p>
<p><code>C-h c C-p</code> Emacs会给出<code>C-p</code>这个命令的简要说明。</p>
<p><code>C-h k C-p</code> Emcas会打开一个新窗格以显示函数的名称及其文档。</p>
</li>
<li><p><code>C-h f</code> 解释一个函数，需要输入函数名。</p>
</li>
<li><p><code>C-h v</code> 用来显示Emcas变量的文档。</p>
</li>
<li><p><code>C-h a</code> 相关命令搜索</p>
<p>Emacs 会在另一个窗格里显示一个 M-x 命令列表，这个列表包含了所有名称中含<br>有“file”的命令。你可以看到像“C-x C-f”这样的组合键显示在“find-file”<br>这样的命令名的旁边。</p>
</li>
<li><p><code>C-h i</code> 阅读手册</p>
</li>
<li><p><code>C-h r</code> emacs使用手册</p>
</li>
<li></li>
</ul>
<h4 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h4>
    </div>

    
    
    
        

  <div class="followme">
    <p>欢迎关注我的其它发布渠道</p>

    <div class="social-list">

        <div class="social-item">
          <a target="_blank" class="social-link" href="/atom.xml">
            <span class="icon">
              <i class="fa fa-rss"></i>
            </span>

            <span class="label">RSS</span>
          </a>
        </div>
    </div>
  </div>


      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/emacs/" rel="tag"># emacs</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2021/06/24/jenkins%E6%9E%84%E5%BB%BAvue%E9%A1%B9%E7%9B%AE/" rel="prev" title="jenkins构建vue项目">
      <i class="fa fa-chevron-left"></i> jenkins构建vue项目
    </a></div>
      <div class="post-nav-item">
    <a href="/2021/06/24/https%E8%AF%B7%E6%B1%82%E5%BF%BD%E7%95%A5ssl%E8%AF%81%E4%B9%A6%E8%AE%A4%E8%AF%81/" rel="next" title="https请求忽略ssl证书认证">
      https请求忽略ssl证书认证 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-4"><a class="nav-link" href="#Emacs%E5%85%A5%E9%97%A8%E6%8C%87%E5%8D%97"><span class="nav-number">1.</span> <span class="nav-text">Emacs入门指南</span></a><ol class="nav-child"><li class="nav-item nav-level-5"><a class="nav-link" href="#Emacs%E6%98%AF%E4%BB%80%E4%B9%88"><span class="nav-number">1.1.</span> <span class="nav-text">Emacs是什么</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#Emacs%E8%83%BD%E5%81%9A%E4%BB%80%E4%B9%88"><span class="nav-number">1.2.</span> <span class="nav-text">Emacs能做什么</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E5%9F%BA%E6%9C%AC%E7%9A%84%E5%BF%AB%E6%8D%B7%E9%94%AE%E6%93%8D%E4%BD%9C"><span class="nav-number">1.3.</span> <span class="nav-text">基本的快捷键操作</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E7%AA%97%E6%A0%BC%EF%BC%88windows%EF%BC%89"><span class="nav-number">1.4.</span> <span class="nav-text">窗格（windows）</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E6%8F%92%E5%85%A5%E5%92%8C%E5%88%A0%E9%99%A4"><span class="nav-number">1.5.</span> <span class="nav-text">插入和删除</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E6%92%A4%E9%94%80%EF%BC%88Undo%EF%BC%89"><span class="nav-number">1.6.</span> <span class="nav-text">撤销（Undo）</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E6%96%87%E4%BB%B6%EF%BC%88File%EF%BC%89"><span class="nav-number">1.7.</span> <span class="nav-text">文件（File）</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E7%BC%93%E5%86%B2%E5%8C%BA"><span class="nav-number">1.8.</span> <span class="nav-text">缓冲区</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E5%91%BD%E4%BB%A4%E9%9B%86%E6%89%A9%E5%B1%95"><span class="nav-number">1.9.</span> <span class="nav-text">命令集扩展</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E6%9B%BF%E6%8D%A2%E5%AD%97%E7%AC%A6%E4%B8%B2"><span class="nav-number">1.10.</span> <span class="nav-text">替换字符串</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E8%87%AA%E5%8A%A8%E4%BF%9D%E5%AD%98"><span class="nav-number">1.11.</span> <span class="nav-text">自动保存</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E6%A8%A1%E5%BC%8F"><span class="nav-number">1.12.</span> <span class="nav-text">模式</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E6%90%9C%E7%B4%A2"><span class="nav-number">1.13.</span> <span class="nav-text">搜索</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E5%A4%9A%E7%AA%97%E6%A0%BC"><span class="nav-number">1.14.</span> <span class="nav-text">多窗格</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E5%A4%9A%E7%AA%97%E5%8F%A3"><span class="nav-number">1.15.</span> <span class="nav-text">多窗口</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E9%80%92%E5%BD%92%E7%BC%96%E8%BE%91"><span class="nav-number">1.16.</span> <span class="nav-text">递归编辑</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E8%8E%B7%E5%BE%97%E6%9B%B4%E5%A4%9A%E7%9A%84%E5%B8%AE%E5%8A%A9"><span class="nav-number">1.17.</span> <span class="nav-text">获得更多的帮助</span></a></li></ol></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%8F%82%E8%80%83"><span class="nav-number">2.</span> <span class="nav-text">参考</span></a></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">田园隐士</p>
  <div class="site-description" itemprop="description">talk is cheap, show me the code</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">347</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
        <span class="site-state-item-count">53</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
        <span class="site-state-item-count">115</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">田园隐士</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-area"></i>
    </span>
    <span title="站点总字数">587k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">8:53</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

        
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  




  
<script src="/js/local-search.js"></script>













  

  
      

<script>
  if (typeof MathJax === 'undefined') {
    window.MathJax = {
      loader: {
          load: ['[tex]/mhchem'],
        source: {
          '[tex]/amsCd': '[tex]/amscd',
          '[tex]/AMScd': '[tex]/amscd'
        }
      },
      tex: {
        inlineMath: {'[+]': [['$', '$']]},
          packages: {'[+]': ['mhchem']},
        tags: 'ams'
      },
      options: {
        renderActions: {
          findScript: [10, doc => {
            document.querySelectorAll('script[type^="math/tex"]').forEach(node => {
              const display = !!node.type.match(/; *mode=display/);
              const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display);
              const text = document.createTextNode('');
              node.parentNode.replaceChild(text, node);
              math.start = {node: text, delim: '', n: 0};
              math.end = {node: text, delim: '', n: 0};
              doc.math.push(math);
            });
          }, '', false],
          insertedScript: [200, () => {
            document.querySelectorAll('mjx-container').forEach(node => {
              let target = node.parentNode;
              if (target.nodeName.toLowerCase() === 'li') {
                target.parentNode.classList.add('has-jax');
              }
            });
          }, '', false]
        }
      }
    };
    (function () {
      var script = document.createElement('script');
      script.src = '//cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
      script.defer = true;
      document.head.appendChild(script);
    })();
  } else {
    MathJax.startup.document.state(0);
    MathJax.texReset();
    MathJax.typeset();
  }
</script>

    

  

</body>
</html>
